//济南六度网络科技有限公司 pc

	

//判断是否夜间   夜间返回true    白天返回false
function isDaylight(){
	
		var currdate = new Date();

	
	var starthours = 8;//开始小时
	var startmintes = 30;;//开始分钟
	var endhours = 18;;//结束小时
	var endminutes = 00;//结束分钟

	if( ((currdate.getHours() > starthours)&&(currdate.getHours()< endhours ))
			|| ((currdate.getHours()==starthours)&&(currdate.getMinutes()>= startmintes))
			|| ((currdate.getHours()==endhours)&&(currdate.getMinutes()< endminutes))
			)
			{
				return true;
			  	
			}
			return true;
		  	
}





if(!isDaylight()){
	//商务通js引入
	
		document.writeln("<script type='text/javascript' src='https://tb.53kf.com/code/code/10135924/1'></script>");
}else{


  window.ydtopenchat=function(param1, param2)
  {
  	try{
  		//openJesongChatByGroup( 11174, 29074,0,param1&&param1.input_wd);
  	     openJesongChatByGroup( 11174, 29074);
  	}catch(err)
  	{
  		  window.location.href= "http://live.easyliao.com/live/chat.do?c=11174&g=29074";
  	}
  }
//商务通函数
	window.openZoosUrl = function(url, data){
		ydtopenchat(url,data);
  }
  
  window.LR_HideInvite = function(url, data){
  }
  
  
  //快商通代码替换
  window.onKST= function(text,isMobileForYiliao,cv){

		if (typeof(cv=="undefined")) {
			var element =document.getElementById("bdduihua");//填入网页输入框id,每个客户确认页面上输入框id
			if (element) {
				cv = element.value;
			}else{
				cv="";//默认为空
			}
		};
		openJesongChatByGroup( 11174, 29074,0,cv);
		
  }
  
  KS = {};
	KS.openChatWin = function(param1,param2)
	{
		ydtopenchat( param1,param2);
	};
	
	
		//易聊js引入  
		document.writeln("<script type='text/javascript' charset='UTF-8' src='//statics.zxzhijia.com/yiliao/easyliao.js'></script>");
		//下面的代码 需要更换成自己公司管理后台生成的代码
		document.writeln("<script type='text/javascript' charset='UTF-8' src='//statics.zxzhijia.com/yiliao/79315.js'></script>");
	
	


}



